{% extends "single.html" %}
{% block title %}{{ page_title }}{% endblock %}
{% block styles %}
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}styles/privatemsgdetail.css">
{% endblock %}
{% block main %}  
    
<div class="privatemsgdetail">
    <h3>我的私信</h3>   
    <div class="msginfo">
        <strong>来自: <a href="{{ pm.get_sender_url }}">@{{ pm.sender }}</a></strong><br />
        <em>时间: {{ pm.addtime_format_admin }}</em>
    </div>
    <div class="avatar50">
        <img src="{{ MEDIA_URL }}avatar/50/{{ pm.sender.profile.avatar }}">
    </div>
    <div class="precontent">{{ pm.privatemsg|safe }}</div>
    <span class="spanreply"><a class="reply" href="{% url mblog_privatemsg_add user.username pm.sender %}">回复</a></span>
    <div class="clear"></div>
</div>
{% endblock %}